Organization

Ajoute un membre à l'organisation

post/api/organizations/{id}/members/{userId}

Request

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

Path parameters

integer required
OR
string required

Identifiant de la ressource

userIdstring required

Identifiant (public_id) de l'utilisateur

Request body

rolestring

rôle de l'utilisateur, 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 postOrganizationsByIdMembersByUserid removed and replaced with addMemberToOrganization

    • breaking

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

    • info

      api operation id 04215fecd7c564d98cb9585712f5c193 removed and replaced with postOrganizationsByIdMembersByUserid

    • 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