organizations

Add a user role to an organization.

Add a user role to an organization.

put/organizations/{organizationId}/users/{username}

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/organizations/{organizationId}/users/{username}
  • Auth
    HTTP bearer

Path parameters

usernamestring required

User to add to org.

organizationIdinteger required

Organization ID.

Request body */*

'MAINTAINER' | 'MEMBER' required

Response

default response

dbCreateDateinteger
dbUpdateDateinteger
role'ADMIN' | 'MAINTAINER' | 'MEMBER'
status'PENDING' | 'REJECTED' | 'ACCEPTED' required

The status of the organization invitation

Changes

No recorded changes to this operation across all 54 revisions of this API.