資格証明タイプの削除
delete
/api/v2/credential_types/{id}/
このリソースに対してDELETEリクエストを行って、この資格証明タイプを削除します。
リクエスト
サポートされているメディア・タイプ
- application/json
パス・パラメータ
問合せパラメータ
- search(オプション): 文字列
検索条件。
レスポンス
サポートされているメディア・タイプ
- application/json
204レスポンス
401レスポンス
レスポンスの例(application/json)
{
"detail":"Authentication credentials were not provided. To establish a login session, visit /api/login/."
}
403レスポンス
レスポンスの例(application/json)
{
"detail":"Credential types that are in use cannot be deleted"
}