Create security settings
This method will create new security settings.
Please log in to see full path URL. Learn why.
post
/subscriptions/1/security
Authorizations:
Scopes:
Request Body schema:
application/jsoncollapse all -
authId required | string [ 1 .. 255 ] characters Unique security setting ID. Used as part of a URL path and must not include any characters that require URL encoding. You cannot change the ID once an item is created. | ||||
type | string Enum: "BASIC" "HMAC" "OAUTH" Credentials type. | ||||
credentials | BasicCredentials (object) or HmacCredentials (object) or OauthCredentials (object) Webhook security credentials. | ||||
One of
Basic credentials.
|
Responses
201
Created.
400
Bad request.
401
Unauthorized
403
Forbidden
404
Not found.
429
Too many requests.
500
Internal Server Error
Request samples
- Payload
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
Content type
application/json
Copy
Collapse all {- "authId": "NEWAUTH-9291",
- "type": "BASIC",
- "credentials": {
- "username": "user1",
- "password": "password1"
}
}
Response samples
- 201
- 400
- 401
- 403
- 404
- 429
- 500
Content type
application/json
Copy
Collapse all {- "authId": "string"
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See