Atomically creates or replaces one Assignment Rule per selected assignment actor.
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Post, RequestUri = new Uri("https://example.com/api/workspace/admin/boards/boards/example/security/profiles/example/assignment-rules/apply"), Content = new StringContent("{ \"OperationKey\": \"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0\", \"RowVersion\": \"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0\", \"ReplacedRuleKeys\": [ \"example\" ], \"Rules\": [ { \"Key\": \"example\", \"ResponsibilityKey\": \"example\", \"ActorSelectorType\": \"example\", \"ActorSelectorKey\": \"example\", \"Actions\": [ \"example\" ], \"EligibleTargets\": [ { \"SelectorType\": \"example\", \"SelectorKey\": \"example\" } ], \"Enabled\": true } ] }") { 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/boards/boards/example/security/profiles/example/assignment-rules/apply';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"OperationKey":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","RowVersion":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","ReplacedRuleKeys":["example"],"Rules":[{"Key":"example","ResponsibilityKey":"example","ActorSelectorType":"example","ActorSelectorKey":"example","Actions":["example"],"EligibleTargets":[{"SelectorType":"example","SelectorKey":"example"}],"Enabled":true}]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/workspace/admin/boards/boards/example/security/profiles/example/assignment-rules/apply \ --header 'Content-Type: application/json' \ --data '{ "OperationKey": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "RowVersion": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "ReplacedRuleKeys": [ "example" ], "Rules": [ { "Key": "example", "ResponsibilityKey": "example", "ActorSelectorType": "example", "ActorSelectorKey": "example", "Actions": [ "example" ], "EligibleTargets": [ { "SelectorType": "example", "SelectorKey": "example" } ], "Enabled": true } ] }'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”Atomically replaces zero or more responsibility Assignment Rules with one rule per selected assignment actor.
object
Defines one responsibility assignment rule inside an atomic rule-set change.
object
Identifies one eligible assignment target selector.
object
Examplegenerated
{ "OperationKey": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "RowVersion": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "ReplacedRuleKeys": [ "example" ], "Rules": [ { "Key": "example", "ResponsibilityKey": "example", "ActorSelectorType": "example", "ActorSelectorKey": "example", "Actions": [ "example" ], "EligibleTargets": [ { "SelectorType": "example", "SelectorKey": "example" } ], "Enabled": true } ]}Atomically replaces zero or more responsibility Assignment Rules with one rule per selected assignment actor.
object
Defines one responsibility assignment rule inside an atomic rule-set change.
object
Identifies one eligible assignment target selector.
object
Examplegenerated
{ "OperationKey": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "RowVersion": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "ReplacedRuleKeys": [ "example" ], "Rules": [ { "Key": "example", "ResponsibilityKey": "example", "ActorSelectorType": "example", "ActorSelectorKey": "example", "Actions": [ "example" ], "EligibleTargets": [ { "SelectorType": "example", "SelectorKey": "example" } ], "Enabled": true } ]}Atomically replaces zero or more responsibility Assignment Rules with one rule per selected assignment actor.
object
Defines one responsibility assignment rule inside an atomic rule-set change.
object
Identifies one eligible assignment target selector.
object
Examplegenerated
{ "OperationKey": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "RowVersion": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "ReplacedRuleKeys": [ "example" ], "Rules": [ { "Key": "example", "ResponsibilityKey": "example", "ActorSelectorType": "example", "ActorSelectorKey": "example", "Actions": [ "example" ], "EligibleTargets": [ { "SelectorType": "example", "SelectorKey": "example" } ], "Enabled": true } ]}Responses
Section titled “Responses”Unauthorized
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Forbidden
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}