organizations

Accept user membership to a given organization

Changed on
post/organizations/{org}/membership/{id}/accept/

Request

  • Base URL
    https://dados.gov.pt/api/1
  • URL
    https://dados.gov.pt/api/1/organizations/{org}/membership/{id}/accept/
  • Auth
    none declared

Path parameters

orgstring required

The organization ID or slug

Headers

X-Fieldsstring mask

An optional fields mask

Response

Success

labelstring
role'admin' | 'editor' | 'partial_editor' required

The member role in the organization

sincestring date-time

The date the user joined the organization

Example response

{
  "role": "admin"
}

Changes