Votre token doit avoir l'un de ces rôles :
OrganizationAdmin
FormAdmin
Si vous êtes une association, vous pouvez obtenir ces rôles avec votre client.
Si vous êtes un partenaire, vous pouvez obtenir ces rôles par le flux d'autorisation.
Votre clientId doit être autorisé à tous ces privilèges :
RefundManagement
401Unauthorized, you must add a valid JWT into Authorization Header with the format : Bearer TOKEN
403The JWT token hasn't the privileges or Roles for this action
409Multi-Factor Authentication Required
This endpoint requires MFA. Below are the possible error codes and required headers:
Code: AuthorizationErrors.MFA.AccessTokenRequired
MFA token not found
A MFA token is expected in x-mfa-access-authorization header or in cookie mfa-{protectedOperation}-{organizationId}.
Code: AuthorizationErrors.MFA.AccessOtpSmsRequired
MFA access otp sms not found
A MFA token is expected in x-mfa-sms-access-authorization header or in cookie mfa-{protectedOperation}-{organizationId}-otp-sms.
Code: AuthorizationErrors.MFA.AccessPasswordTokenRequired
MFA access password token not found
A MFA token is expected in x-mfa-password-authorization header or in cookie mfa-{protectedOperation}-{organizationId}-pwd.
Code: AuthorizationErrors.UserNotEnrolled
User 123 not enrolled
