curl --request PATCH \
--url https://bloodhound.specterops.io/openapi.json/api/v2/bloodhound-users/{user_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"first_name": "<string>",
"last_name": "<string>",
"email_address": "jsmith@example.com",
"principal": "<string>",
"roles": [
123
],
"saml_provider_id": "<string>",
"sso_provider_id": {
"int32": 123,
"valid": true
},
"is_disabled": true
}
'"[this request has no response data]"Update a BloodHound user’s properties’.
curl --request PATCH \
--url https://bloodhound.specterops.io/openapi.json/api/v2/bloodhound-users/{user_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"first_name": "<string>",
"last_name": "<string>",
"email_address": "jsmith@example.com",
"principal": "<string>",
"roles": [
123
],
"saml_provider_id": "<string>",
"sso_provider_id": {
"int32": 123,
"valid": true
},
"is_disabled": true
}
'"[this request has no response data]"Authorization: Bearer $JWT_TOKEN
Prefer header, used to specify a custom timeout in seconds using the wait parameter as per RFC7240.
User ID
The request body for updating a user
No Content This response will contain no response body.
The response is of type string.