{
"apiVersion": "string",
"kind": "string",
"metadata": {
"annotations": {
"property1": "string",
"property2": "string"
},
"creationTimestamp": "2019-08-24T14:15:22Z",
"deletionTimestamp": "2019-08-24T14:15:22Z",
"finalizers": [
"string"
],
"generateName": "string",
"labels": {
"property1": "string",
"property2": "string"
},
"name": "string",
"version": 0
},
"spec": {
"description": "string",
"expiresAt": "2019-08-24T14:15:22Z",
"lastUsed": "2019-08-24T14:15:22Z",
"name": "string",
"revoked": true,
"revokesAt": "2019-08-24T14:15:22Z",
"roles": [
"string"
],
"scopes": [
"string"
],
"tokenId": "string",
"username": "string"
}
}curl --location --request POST 'http://192.168.80.101:8090/apis/security.halo.run/v1alpha1/personalaccesstokens' \
--header 'Authorization: {{authorization}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"apiVersion": "string",
"kind": "string",
"metadata": {
"annotations": {
"property1": "string",
"property2": "string"
},
"creationTimestamp": "2019-08-24T14:15:22Z",
"deletionTimestamp": "2019-08-24T14:15:22Z",
"finalizers": [
"string"
],
"generateName": "string",
"labels": {
"property1": "string",
"property2": "string"
},
"name": "string",
"version": 0
},
"spec": {
"description": "string",
"expiresAt": "2019-08-24T14:15:22Z",
"lastUsed": "2019-08-24T14:15:22Z",
"name": "string",
"revoked": true,
"revokesAt": "2019-08-24T14:15:22Z",
"roles": [
"string"
],
"scopes": [
"string"
],
"tokenId": "string",
"username": "string"
}
}'{
"apiVersion": "string",
"kind": "string",
"metadata": {
"annotations": {
"property1": "string",
"property2": "string"
},
"creationTimestamp": "2019-08-24T14:15:22Z",
"deletionTimestamp": "2019-08-24T14:15:22Z",
"finalizers": [
"string"
],
"generateName": "string",
"labels": {
"property1": "string",
"property2": "string"
},
"name": "string",
"version": 0
},
"spec": {
"description": "string",
"expiresAt": "2019-08-24T14:15:22Z",
"lastUsed": "2019-08-24T14:15:22Z",
"name": "string",
"revoked": true,
"revokesAt": "2019-08-24T14:15:22Z",
"roles": [
"string"
],
"scopes": [
"string"
],
"tokenId": "string",
"username": "string"
}
}