POST/spaces/api/v1/spaces/{spaceID}/access.json

Create the requested access request

Path Params

  • Name
    spaceID
    Type
    integer
    required
    Description

Body Params

    • Name
      access
      Type
      object
      Description
      AccessDetail is an individual permission access Request

    Responses

    • Code
      200
      Type
      object
      Schema
      Description
      200 OK
    • Code
      400
      Type
      object
      Schema
      Description
      400 Bad Request
    • Code
      500
      Type
      object
      Schema
      Description
      500 Internal Server Error

    Examples

    200 OK

    Access
    {
      "access": {
        "LinkedInstallation": {
          "installation": {
            "id": 0,
            "meta": {},
            "type": "string"
          }
        },
        "access": {
          "details": "string",
          "id": 0,
          "level": "read",
          "state": "active"
        },
        "createdAt": "2024-04-18T11:10:13.495Z",
        "createdBy": {
          "id": 0,
          "meta": {},
          "type": "string"
        },
        "deletedAt": "2024-04-18T11:10:13.495Z",
        "deletedBy": {
          "id": 0,
          "meta": {},
          "type": "string"
        },
        "space": {
          "id": 0,
          "meta": {},
          "type": "string"
        },
        "updatedAt": "2024-04-18T11:10:13.495Z",
        "updatedBy": {
          "id": 0,
          "meta": {},
          "type": "string"
        }
      }
    }