メインコンテンツへスキップ
POST
Create a rate limit policy

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

ボディ

resource
enum<string>
必須

The API protected by the Rate Limit Policy.

利用可能なオプション:
oauth_authentication_api
consumer
enum<string>
必須

The consumer to which the rate limit policy applies.

利用可能なオプション:
client
consumer_selector
string
必須

Identifier or category within the consumer to which the policy applies. Supported values: client_id:<client_id> to target a specific client by ID, client_id:<cimd_uri> to target a CIMD client by URI, cimd_clients to target all CIMD clients, third_party_clients to target all third-party clients, or default to apply the policy to any consumer identifier not otherwise explicitly targeted.

Maximum string length: 255
configuration
object
必須

The configuration of the rate limit policy.

レスポンス

Rate limit policy successfully created.

id
string<rate-limit-policy-id>
必須

Unique identifier for the Rate Limit Policy.

Maximum string length: 26
resource
enum<string>
必須

The API protected by the Rate Limit Policy.

利用可能なオプション:
oauth_authentication_api
consumer
enum<string>
必須

The consumer to which the rate limit policy applies.

利用可能なオプション:
client
consumer_selector
string
必須

Identifier or category within the consumer to which the policy applies. Supported values: client_id:<client_id> to target a specific client by ID, client_id:<cimd_uri> to target a CIMD client by URI, cimd_clients to target all CIMD clients, third_party_clients to target all third-party clients, or default to apply the policy to any consumer identifier not otherwise explicitly targeted.

Maximum string length: 255
configuration
object
必須

The configuration of the rate limit policy.

created_at
string<date-time>

The date and time when the rate limit policy was created.

updated_at
string<date-time>

The date and time when the rate limit policy was last updated.