Edit an AuthN Mapping

PATCH {{baseUrl}}/api/v2/authn_mappings/:authn_mapping_id

Edit an AuthN Mapping.

Request Body

{"data"=>{"id"=>"3653d3c6-0c75-11ea-ad28-fb5701eabc7d", "type"=>"authn_mappings", "attributes"=>{"attribute_key"=>"member-of", "attribute_value"=>"Development"}, "relationships"=>{"role"=>{"data"=>{"id"=>"3653d3c6-0c75-11ea-ad28-fb5701eabc7d", "type"=>"roles"}}}}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"data":{"id":"3653d3c6-0c75-11ea-ad28-fb5701eabc7d","type":"authn_mappings","attributes":{"attribute_key":"member-of","attribute_value":"Development","created_at":"2022-03-27T05:34:57.971Z","modified_at":"2018-01-30T20:52:29.320Z","saml_assertion_attribute_id":"0"},"relationships":{"role":{"data":{"id":"3653d3c6-0c75-11ea-ad28-fb5701eabc7d","type":"roles"}},"saml_assertion_attribute":{"data":{"id":"0","type":"saml_assertion_attributes"}}}},"included":[{"id":"0","type":"saml_assertion_attributes","attributes":{"attribute_key":"member-of","attribute_value":"Development"}},{"id":"0","type":"saml_assertion_attributes","attributes":{"attribute_key":"member-of","attribute_value":"Development"}}]}