GET/spaces/api/v1/spaces/{spaceID}/owner.json

Get the owner of the given space

Path Params

  • Name
    spaceID
    Type
    integer
    required
    Description

Request Examples

Example Request

GET
/spaces/api/v1/spaces/{spaceID}/owner.json
curl --request GET \
     --url https://{site_name}.teamwork.com/account.json

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
  • Code
    404
    Type
    object
    Schema
    Description
    404 Not Found
  • Code
    500
    Type
    object
    Schema
    Description
    500 Internal Server Error

Examples

200 OK

SpaceOwner
{
  "owner": {
    "space": {
      "id": 0,
      "meta": {},
      "type": "string"
    },
    "user": {
      "id": 0,
      "meta": {},
      "type": "string"
    }
  }
}