Bulk Update Users
POST/users/bulk/update/
Request
- application/json
- application/x-www-form-urlencoded
- multipart/form-data
Body
required
ceo- Chief Executive Officercto- Chief Technology Officercso- Chief Security Officerseceng- Security engineerdev- Developerdevop- Developer Operationsmanager- Managerother- OtherArray [
]
List of object IDs.
Possible values: <= 60 characters
Name of the user.
Possible values: [ceo, cto, cso, seceng, dev, devop, manager, other, ``]
Job title:
Default value: true
If true, the user can authenticate to Snyk API & Web to interact with apps and the API.
If false, the user's access to Snyk API & Web's apps and API is blocked.
Defaults to true.
labels
object[]
required
Possible values: <= 255 characters
Name of the label.
The maximum length is 255 characters.
Possible values: Value must match regular expression ^[a-zA-Z0-9#_-]*$
Color of the label, in RGB hexadecimal format prefixed with "#".
For example, "#00FF00" for green.
Body
required
ceo- Chief Executive Officercto- Chief Technology Officercso- Chief Security Officerseceng- Security engineerdev- Developerdevop- Developer Operationsmanager- Managerother- OtherArray [
]
List of object IDs.
Possible values: <= 60 characters
Name of the user.
Possible values: [ceo, cto, cso, seceng, dev, devop, manager, other, ``]
Job title:
Default value: true
If true, the user can authenticate to Snyk API & Web to interact with apps and the API.
If false, the user's access to Snyk API & Web's apps and API is blocked.
Defaults to true.
labels
object[]
required
Possible values: <= 255 characters
Name of the label.
The maximum length is 255 characters.
Possible values: Value must match regular expression ^[a-zA-Z0-9#_-]*$
Color of the label, in RGB hexadecimal format prefixed with "#".
For example, "#00FF00" for green.
Body
required
ceo- Chief Executive Officercto- Chief Technology Officercso- Chief Security Officerseceng- Security engineerdev- Developerdevop- Developer Operationsmanager- Managerother- OtherArray [
]
List of object IDs.
Possible values: <= 60 characters
Name of the user.
Possible values: [ceo, cto, cso, seceng, dev, devop, manager, other, ``]
Job title:
Default value: true
If true, the user can authenticate to Snyk API & Web to interact with apps and the API.
If false, the user's access to Snyk API & Web's apps and API is blocked.
Defaults to true.
labels
object[]
required
Possible values: <= 255 characters
Name of the label.
The maximum length is 255 characters.
Possible values: Value must match regular expression ^[a-zA-Z0-9#_-]*$
Color of the label, in RGB hexadecimal format prefixed with "#".
For example, "#00FF00" for green.
Responses
- 200
- 400
- 401
- 500
- application/json
- Schema
- Example (from schema)
Schema
List of object IDs.
{
"ids": [
"string"
]
}
- application/json
- Schema
- Example (from schema)
Schema
{
"<field name>": [
"Errors related to field <field name>."
],
"non_field_errors": [
"Errors not related to any field specific field."
]
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "Incorrect authentication credentials."
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "Unexpected error while handling your request."
}