Update a Credential
PATCH /acs/credentials/update ⇒ voidUpdates the code and ends at date and time for a specified credential.
Request
await seam.acs.credentials.update({
acs_credential_id: "66666666-6666-6666-6666-666666666666",
code: "7890",
});Response
// voidRequest
seam.acs.credentials.update(
acs_credential_id="66666666-6666-6666-6666-666666666666", code="7890"
)Response
NoneRequest
seam.acs.credentials.update(acs_credential_id: "66666666-6666-6666-6666-666666666666", code: "7890")Response
nilRequest
<?php
$seam->acs->credentials->update(
acs_credential_id: "66666666-6666-6666-6666-666666666666",
code: "7890"
);Response
nullRequest
seam acs credentials update --acs_credential_id "66666666-6666-6666-6666-666666666666" --code "7890"Response
{}Request
package main
import api "github.com/seamapi/go"
import credentials "github.com/seamapi/go/credentials"
func main() {
client.Acs.Credentials.Update(
context.Background(),
credentials.CredentialsUpdateRequest{
AcsCredentialId: api.String("66666666-6666-6666-6666-666666666666"),
Code: api.String("7890"),
},
)
}Response
nilAuthentication Methods
API key
Personal access token Must also include the
seam-workspaceheader in the request.
Request Parameters
acs_credential_id
acs_credential_idType: string Required: Yes
ID of the desired credential.
code
codeType: string Required: No
Replacement access (PIN) code for the credential.
ends_at
ends_atType: string Required: No
Replacement date and time at which the validity of the credential ends, in ISO 8601 format. Must be a time in the future and after the starts_at value that you set when creating the credential.
Return Type
void
Last updated
Was this helpful?

