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-12-04T16:22:47.687Z",
        "createdBy": {
          "id": 0,
          "meta": {},
          "type": "string"
        },
        "deletedAt": "2024-12-04T16:22:47.687Z",
        "deletedBy": {
          "id": 0,
          "meta": {},
          "type": "string"
        },
        "space": {
          "id": 0,
          "meta": {},
          "type": "string"
        },
        "updatedAt": "2024-12-04T16:22:47.687Z",
        "updatedBy": {
          "id": 0,
          "meta": {},
          "type": "string"
        }
      }
    }