Organization

Modifie le rôle d'un membre dans l'organisation

put/api/organizations/{id}/members/{userId}/role

Request

  • Base URL: https://macarte.ign.fr
  • URL: https://macarte.ign.fr/api/organizations/{id}/members/{userId}/role
  • Auth: HTTP bearer

Path parameters

integer required
OR
string required

Identifiant de la ressource

userIdstring required

Identifiant (public_id) de l'utilisateur

Request body

valuestring

nouveau rôle, parmi ['member', 'editor', 'owner']

Response

Description du rôle de l'utilisateur

organization_idstring

Identifiant public de l'organisation

user_idstring

Identifiant public de l'utilisateur

user_public_namestring

Nom public de l'utilisateur

user_rolestring

Rôle de l'utilisateur dans l'organisation

mail_sentboolean

si false, l'opération a été effectuée, mais le mail d'information n'a pas été envoyé à l'utilisateur

Changes

    • info

      api operation id putOrganizationsByIdMembersByUseridRole removed and replaced with putOrganizationMemberRole

    • breaking

      the response's body type changed from array to object for status

    • info

      api operation id d939b109a3c0fa2e900bdd8cdce65775 removed and replaced with putOrganizationsByIdMembersByUseridRole

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status