Edit a User Invitation
PUThttps://api.ignisign.io/v4/applications/:appId/users-invitations/:userInvitationId
This endpoint allows to edit the details of an invitation for an application.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 408
- 500
The edited user invitation.
Bad request error
Unauthorized error
Forbidden
Not Found
Timeout
Internal Error
Authorization: http
name: ignisign_api_authtype: httpscheme: bearerbearerFormat: JWT
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Put, "https://api.ignisign.io/v4/applications/:appId/users-invitations/:userInvitationId");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <TOKEN>");
var content = new StringContent("{\n \"roles\": {\n \"DEVELOPMENT\": [\n \"ADMIN\"\n ],\n \"STAGING\": [\n \"ADMIN\"\n ],\n \"PRODUCTION\": [\n \"ADMIN\"\n ]\n }\n}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear