Add organization application

POST /api/organizations/{id}/applications

Add an application to the organization.

Path parameters

  • id string Required

    The unique identifier of the organization.

application/json

Body Required

  • applicationIds array[string] Required

    The application IDs to add.

    Minimum length of each is 1.

Responses

  • 201 application/json

    The application was added successfully.

  • Bad Request

  • Unauthorized

  • Forbidden

  • The application could not be added. Some of the applications may not exist.

POST /api/organizations/{id}/applications
curl \
 -X POST https://[tenant_id].logto.app/api/organizations/{id}/applications \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"applicationIds":["string"]}'
Request examples
{
  "applicationIds": [
    "string"
  ]
}