Update one responsibility group.
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Put, RequestUri = new Uri("https://example.com/api/workspace/admin/responsibility-groups/example"), Content = new StringContent("{ \"Code\": \"example\", \"Name\": \"example\", \"Type\": 0, \"Description\": \"example\", \"RowVersion\": \"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0\", \"ExtendedData\": { \"additionalProperty\": \"example\" } }") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } }};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}const url = 'https://example.com/api/workspace/admin/responsibility-groups/example';const options = { method: 'PUT', headers: {'Content-Type': 'application/json'}, body: '{"Code":"example","Name":"example","Type":0,"Description":"example","RowVersion":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","ExtendedData":{"additionalProperty":"example"}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://example.com/api/workspace/admin/responsibility-groups/example \ --header 'Content-Type: application/json' \ --data '{ "Code": "example", "Name": "example", "Type": 0, "Description": "example", "RowVersion": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "ExtendedData": { "additionalProperty": "example" } }'Authorizations
Section titled “Authorizations”- None
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.
Request Body
Section titled “Request Body”Update one responsibility group.
object
Optional code-facing identifier.
Display name.
Optional description.
Concurrency token.
Optional complete replacement of non-secret integration metadata. Null preserves existing metadata.
object
Update one responsibility group.
object
Optional code-facing identifier.
Display name.
Optional description.
Concurrency token.
Optional complete replacement of non-secret integration metadata. Null preserves existing metadata.
object
Update one responsibility group.
object
Optional code-facing identifier.
Display name.
Optional description.
Concurrency token.
Optional complete replacement of non-secret integration metadata. Null preserves existing metadata.
object
Responses
Section titled “Responses”OK
object
Full responsibility-group detail.
object
Group identifier.
Optional code-facing identifier.
Display name.
Optional description.
Assigned users.
Member assigned to a responsibility group.
object
User identifier.
Login user name.
Optional email address.
First name.
Optional last name.
Canonical effective display name.
Whether the user is blocked.
Avatar presentation for a responsibility-group member.
object
Avatar initials.
Avatar background color.
Avatar text color.
Concurrency token.
Non-secret integration metadata.
object
object
object
object
object
Example
{ "Data": { "Type": 0, "Users": [ { "UserType": 0 } ] }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Bad Request
object
Full responsibility-group detail.
object
Group identifier.
Optional code-facing identifier.
Display name.
Optional description.
Assigned users.
Member assigned to a responsibility group.
object
User identifier.
Login user name.
Optional email address.
First name.
Optional last name.
Canonical effective display name.
Whether the user is blocked.
Avatar presentation for a responsibility-group member.
object
Avatar initials.
Avatar background color.
Avatar text color.
Concurrency token.
Non-secret integration metadata.
object
object
object
object
object
Example
{ "Data": { "Type": 0, "Users": [ { "UserType": 0 } ] }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Forbidden
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Not Found
object
Full responsibility-group detail.
object
Group identifier.
Optional code-facing identifier.
Display name.
Optional description.
Assigned users.
Member assigned to a responsibility group.
object
User identifier.
Login user name.
Optional email address.
First name.
Optional last name.
Canonical effective display name.
Whether the user is blocked.
Avatar presentation for a responsibility-group member.
object
Avatar initials.
Avatar background color.
Avatar text color.
Concurrency token.
Non-secret integration metadata.
object
object
object
object
object
Example
{ "Data": { "Type": 0, "Users": [ { "UserType": 0 } ] }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Conflict
object
Full responsibility-group detail.
object
Group identifier.
Optional code-facing identifier.
Display name.
Optional description.
Assigned users.
Member assigned to a responsibility group.
object
User identifier.
Login user name.
Optional email address.
First name.
Optional last name.
Canonical effective display name.
Whether the user is blocked.
Avatar presentation for a responsibility-group member.
object
Avatar initials.
Avatar background color.
Avatar text color.
Concurrency token.
Non-secret integration metadata.
object
object
object
object
object
Example
{ "Data": { "Type": 0, "Users": [ { "UserType": 0 } ] }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}