curl --request PATCH \
--url https://api.fireworks.ai/v1/accounts/{account_id}/users/{user_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"role": "<string>",
"displayName": "<string>",
"serviceAccount": true,
"email": "<string>",
"permissionPreset": "<string>"
}
'{
"role": "<string>",
"name": "<string>",
"displayName": "<string>",
"serviceAccount": true,
"createTime": "2023-11-07T05:31:56Z",
"email": "<string>",
"state": "STATE_UNSPECIFIED",
"status": {
"code": "OK",
"message": "<string>"
},
"updateTime": "2023-11-07T05:31:56Z",
"permissionPreset": "<string>"
}curl --request PATCH \
--url https://api.fireworks.ai/v1/accounts/{account_id}/users/{user_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"role": "<string>",
"displayName": "<string>",
"serviceAccount": true,
"email": "<string>",
"permissionPreset": "<string>"
}
'{
"role": "<string>",
"name": "<string>",
"displayName": "<string>",
"serviceAccount": true,
"createTime": "2023-11-07T05:31:56Z",
"email": "<string>",
"state": "STATE_UNSPECIFIED",
"status": {
"code": "OK",
"message": "<string>"
},
"updateTime": "2023-11-07T05:31:56Z",
"permissionPreset": "<string>"
}Bearer authentication using your Fireworks API key. Format: Bearer <API_KEY>
The properties of the User being updated. user.name must
be populated with the updated resource's name.
The user's role: admin, user, contributor, inference-user, or custom. When set to "custom", the user's permissions are governed by permission_preset.
Human-readable display name of the user. e.g. "Alice" Must be fewer than 64 characters long.
The user's email address.
The permission preset for this user. Only valid when role is "custom".
A successful response.
The user's role: admin, user, contributor, inference-user, or custom. When set to "custom", the user's permissions are governed by permission_preset.
Human-readable display name of the user. e.g. "Alice" Must be fewer than 64 characters long.
The creation time of the user.
The user's email address.
The state of the user.
STATE_UNSPECIFIED, CREATING, READY, UPDATING, DELETING Contains information about the user status.
Show child attributes
The update time for the user.
The permission preset for this user. Only valid when role is "custom".
Was this page helpful?