Replace organization applications

PUT /api/organizations/{id}/applications

Replace all applications associated with the organization with the given data.

Path parameters

  • id string Required

    The unique identifier of the organization.

application/json

Body Required

  • applicationIds array[string] Required

    An array of application IDs to replace existing applications.

    Minimum length of each is 1.

Responses

  • The applications were replaced successfully.

  • Bad Request

  • Unauthorized

  • Forbidden

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

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