Edit key name
PUT/v2/projects/:projectId/keys/:id
Edit key name
Request
Path Parameters
id int64required
projectId int64required
- application/json
Body
required
name stringrequired
namespace string
description string
Possible values: <= 2000 characters
Description of the key
Responses
- 200
- 400
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
Schema
id int64required
Id of key record
name stringrequired
Name of key
namespace string
Namespace of key
description string
Description of key
custom object
Custom values of the key
property name* object
Custom values of the key
{
"id": 0,
"name": "this_is_super_key",
"namespace": "homepage",
"description": "This key is used on homepage. It's a label of sign up button.",
"custom": {}
}
Bad Request
- */*
- Schema
Schema
string
Unauthorized
- */*
- Schema
Schema
string
Forbidden
- */*
- Schema
Schema
string
Not Found
- */*
- Schema
Schema
string
Loading...